fromTexture

fun fromTexture(textureID: Int, width: Int, height: Int, flipY: Boolean): PAGImage